package com.studerb.events.listener;

import java.util.List;

import com.studerb.events.TaskEvent;
import com.studerb.tasks.interfaces.ITaskListener;

/**
 * Convenience class that stubs all of the TaskListener interface methods. Using
 * TaskListener.Adapter can simplify building TaskListeners:
 * 
 * <pre>
 * </pre>
 */
public class AbstractTaskListener<T, V> implements ITaskListener<T, V> {
    public void cancelled(TaskEvent<Void> event) {
    }

    public void doInBackground(TaskEvent<Void> event) {
    }

    public void failed(TaskEvent<Throwable> event) {
    }

    public void finished(TaskEvent<Void> event) {
    }

    public void interrupted(TaskEvent<InterruptedException> event) {
    }

    public void process(TaskEvent<List<V>> event) {
    }

    public void succeeded(TaskEvent<T> event) {
    }
}